package im.youni.horus.core.common;

public class Constants {

    public static int BUCKET_LEN = 7;

    // recorder默认存储long[]的数量
    public static int mostTimeThreshold = 5000;

    // recorder默认存储map的数据范围
    public static int outThresholdCount = 0;

    public static int tagLength = 5;

    // 最大唯一tag数，单实例，单服务基本不可能超过这个数量级， 计算逻辑: 单机50个接口，60秒数据
    public static int maxTagNum = 3000;

    /**
     * 指标类型
     */
    public interface Metrics {
        int api_request_second = 99;
        int api_request_error = 90;
    }
}
